// import { mainRouter } from "./mainRouter";

export const routes = [
  // {
  //   path: "/:pathMatch(.*)*", // 解决路由爆[Vue Router warn]: No match found for location with path
  //   meta: {
  //     title: "找不到此页面",
  //   },
  //   // redirect: '/403', // 错误方式，刷新立马会导致进入守卫的页面
  //   component: () => import("@/views/error/404.vue"), // 切记不要使用 redirect: '/403',
  // },
  {
    path: '/',
    name: 'index',
    component: ()=> import('@/components/check.vue'),
  },
  {
    path: '/check',
    name: 'check',
    component: ()=> import('@/components/check.vue'),
    // children: mainRouter
  },
  {
    path: '/dVersion',
    name: 'dVersion',
    component: () => import('@/components/dVersion.vue')
  },
  {
    path: '/commandError',
    name: 'commandError',
    component: () => import('@/components/commandError.vue')
  },
  
]